package com.mr.sell.entity;

import lombok.Data;
import org.hibernate.annotations.DynamicUpdate;

import javax.persistence.Entity;
import javax.persistence.Id;
import java.math.BigDecimal;

/**
 * @ClassName: OrderDetail
 * @User MRui
 * @Description: TODO描述：订单商品
 * @date 2018.09.19 22:59
 */
@Data
@Entity
public class OrderDetail {
    @Id
    private String detailId;
    /**/
    private String orderId;
    /**/
    private String productId;
    /*商品名称*/
    private String productName;
    /*当前价格,单位分*/
    private BigDecimal productPrice;
    /*数量*/
    private int productQuantity;
    /*小图*/
    private String productIcon;
}
